home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'WinSock.pas' rev: 3.00
-
- #ifndef WinSockHPP
- #define WinSockHPP
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
- #include <winsock.h>
- namespace Winsock
- {
- typedef fd_set *PFDSet;
- typedef fd_set TFDSet;
- }
-
- namespace Winsock
- {
- //-- type declarations -------------------------------------------------------
- typedef timeval *PTimeVal;
-
- typedef timeval TTimeVal;
-
- typedef hostent *PHostEnt;
-
- typedef hostent THostEnt;
-
- typedef netent *PNetEnt;
-
- typedef netent TNetEnt;
-
- typedef servent *PServEnt;
-
- typedef servent TServEnt;
-
- typedef protoent *PProtoEnt;
-
- typedef protoent TProtoEnt;
-
- typedef in_addr *PInAddr;
-
- typedef in_addr TInAddr;
-
- typedef sockaddr_in *PSockAddrIn;
-
- typedef sockaddr_in TSockAddrIn;
-
- typedef WSAData *PWSAData;
-
- typedef WSAData TWSAData;
-
- typedef _TRANSMIT_FILE_BUFFERS *PTransmitFileBuffers;
-
- typedef _TRANSMIT_FILE_BUFFERS TTransmitFileBuffers;
-
- typedef sockproto *PSockProto;
-
- typedef sockproto TSockProto;
-
- typedef linger *PLinger;
-
- typedef linger TLinger;
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Winsock */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Winsock;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // WinSock
-